mod flatten;
mod string;
mod number;
mod take;
mod skip;
mod peek;
mod zip;
mod sum;
mod maxmin;
mod anyall;
mod position;
mod fold;
mod nth;
mod last;
mod for_each_test;

fn main() {
    let sum1 = number::triangle(10);
    println!("{}", sum1);
    string::path_iter();
    string::string_iter();
    string::string_map_filter();
    string::string_f64();
    string::string_f642();
    flatten::flat_map01();
    flatten::flatten01();
    take::take_while_test();
    take::take_while();
    skip::skip_test();
    peek::peek_test();
    zip::zip_test();
    sum::sum_test();
    maxmin::max_min_test();
    maxmin::maxby_minby_test();
    maxmin::maxbykey_minbykey_test();
    // let sum2 = (1..=10).fold(0, |sum, item| sum + item);
    // println!("{}", sum2);
}







